package com.wxm.killing.mq.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import javax.persistence.*;

/**
 * 用户表
 * 
 * @author wxm
 * @email xiaomin.wu1@pactera.com
 * @version 2019-11-22 22:36:23
 */
@Data
@Table(name = "tb_user")
public class TbUser implements Serializable {
    private static final long serialVersionUID=1L;
   /**
    * 用户编号
    */
	@Id
	private Integer userId;
   /**
    * 节点编号
    */
	@Column(name = "referee_id")
	private Integer refereeId;
   /**
    * 
    */
	@Column(name = "referee_code")
	private String refereeCode;
   /**
    * 
    */
	@Column(name = "referee_family_ids")
	private String refereeFamilyIds;
   /**
    * 级别编号
    */
	@Column(name = "level_id")
	private Integer levelId;
   /**
    * 
    */
	@Column(name = "level_award_id")
	private Integer levelAwardId;
   /**
    * 用户名
    */
	@Column(name = "user_name")
	private String userName;
   /**
    * 
    */
	@Column(name = "nick_name")
	private String nickName;
   /**
    * 手机号码
    */
	@Column(name = "mobile")
	private String mobile;
   /**
    * 
    */
	@Column(name = "mobile_area")
	private String mobileArea;
   /**
    * 密码
    */
	@Column(name = "password")
	private String password;
   /**
    * 二级密码
    */
	@Column(name = "repass")
	private String repass;
   /**
    * 密码加密
    */
	@Column(name = "salt1")
	private String salt1;
   /**
    * 
    */
	@Column(name = "salt2")
	private String salt2;
   /**
    * 
    */
	@Column(name = "head_url")
	private String headUrl;
   /**
    * 是否锁定
    */
	@Column(name = "is_lock")
	private Integer isLock;
   /**
    * 
    */
	@Column(name = "is_frozen")
	private Integer isFrozen;
   /**
    * 
    */
	@Column(name = "activation_status")
	private Integer activationStatus;
   /**
    * 
    */
	@Column(name = "activation_time")
	private Date activationTime;
   /**
    * 
    */
	@Column(name = "pwd_text1")
	private String pwdText1;
   /**
    * 
    */
	@Column(name = "pwd_text2")
	private String pwdText2;
   /**
    * 登陆次数
    */
	@Column(name = "login_count")
	private Integer loginCount;
   /**
    * 最后登陆时间
    */
	@Column(name = "last_login_time")
	private Date lastLoginTime;
   /**
    * 注册时间
    */
	@Column(name = "create_time")
	private Date createTime;
   /**
    * 
    */
	@Column(name = "update_time")
	private Date updateTime;
   /**
    * 
    */
	@Column(name = "token")
	private String token;
   /**
    * 团队人数
    */
	@Column(name = "total_team_member_number")
	private Integer totalTeamMemberNumber;
   /**
    * 是否可以申购
    */
	@Column(name = "is_open_apply")
	private Integer isOpenApply;
   /**
    * 是否可以抢购
    */
	@Column(name = "is_open_rush")
	private Integer isOpenRush;
   /**
    * 是否活跃用户
    */
	@Column(name = "is_active_user")
	private Integer isActiveUser;
   /**
    * 是否需要实名
    */
	@Column(name = "is_true_name")
	private Integer isTrueName;
   /**
    * 是否公司账号
    */
	@Column(name = "is_system_user")
	private Integer isSystemUser;
   /**
    * 
    */
	@Column(name = "old_user_id")
	private Integer oldUserId;
   /**
    * 是否触发升级降级
    */
	@Column(name = "is_upgrade_level")
	private Integer isUpgradeLevel;
   /**
    * 
    */
	@Column(name = "active_user_time")
	private Date activeUserTime;
}
